package com.tanhua.sso.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 西楚霸王
 * @date 2020/10/26 16:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
//@JsonIgnoreProperties{"",""}
public class User extends BasePojo{
    private Long id;
    private String mobile; //手机号

    @JsonIgnore
    private String password; //密码，json序列化时忽略



}
